/* vim: set et sw=4 ts=4 sts=4 fdm=marker ff=unix fenc=utf8 nobomb: */
/**
 * Metrist Style
 *
 * @author mingcheng<i.feelinglucky#gmail.com>
 * @date   2009-11-14
 * @link   http://www.gracecode.com/
 */

body {
    font-size: 12px;
    font-color: #333;
    font-family: Helvetica, Times, Tahoma, Arial, sans-serif;
    background: #d5e4f7;
    padding: 2px;
    width: 350px;
    height: 505px;
    overflow: hidden;
}

textarea, button {
    border: 1px solid #b7c5e3;
    margin: 0;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
}

button {
    -webkit-user-select: none;
    -moz-user-select: none;
}

.hidden {
    display: none;
}

#header {
    position: relative;
    margin-bottom: 2px;
}

#header .action {
    position: absolute;
    top: 5px;
    right: 0;
}

#header .action #refresh,
#header .action #config {
    display: inline-block;
    width: 16px;
    height: 16px;
    text-indent: -999em;
    overflow: hidden;
    margin: 0 5px 0 0px;
    border: none;
    opacity: .25;
    background-color: transparent;
    background-repeat: no-repeat;
}

#header .action #refresh:hover,
#header .action #config:hover {
    opacity: 1;
}


#header .action #refresh {
    /*
    position: absolute;
    bottom: 0px;
    right: 0px;
    display: inline-block;
    */
    background-image: url(../images/reload.png);
    background-position: 2px 2px;
}

#header .action #config {
    background-image: url(../images/config.png);
}

#page {
    position: relative;
    width: 350px;
}

#page #content {
    height: 400px;
    overflow: auto;
    border: 1px solid #b7c5e3;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    overflow: hidden;
    background: #fff;
}

#page #content > div {
    width: 2000px;
    overflow: hidden;
}

#page #content .console,
#page #content .tweets {
    height: 400px;
    width: 348px;
    overflow: auto;
    float: left;
}

#page.small {
    font-size: 11px;
}

#page.normal {
    font-size: 12px;
}

#page.large {
    font-size: 14px;
}

#page.huge {
    font-size: 16px;
}

#page #content .tweets li {
    word-break: break-all;
    position: relative;
    min-height: 30px;
    padding: 2px 2px 2px 60px;
    border-bottom: 1px solid #b7c5e3;
    margin: 1px 1px;
    color: #333;
}

#page #content .tweets li.me {
    background: #f0f5fb;
}

#page #content .tweets li.me a[act=favourite] {
    visibility: hidden;
}

#page #content .tweets li.reply {
    background: #bdde84;
}

#page #content .tweets li.direct {
    background: #ffd88d;
}

#page #content .tweets .new {
    background: url(../images/new.png) no-repeat top left;
    position: absolute;
    top: 3px; left: 3px;
    width: 15px;
    height: 15px;
    z-index: 10;
    text-indent: -999em;
    overflow: hidden;
}

/*
#page #content .tweets li.same {
    margin-top: -2px;
    border-top: 0;
}

#page #content .tweets li.same .nick,
#page #content .tweets li.same .avatar {
    visibility: hidden;
}
*/

#page #content .tweets li a:visited,
#page #content .tweets li a:link {
    text-decoration: none;
}

#page #content .tweets li .nick {
    font-size: 1em;
    font-weight: bold;
}

#page #content .tweets li .nick a {
    color: #000;
}

#page #content .tweets li .avatar {
    position: absolute;
    top: 5px;
    left: 5px;
    -webkit-user-select: none;
}

#page #content .tweets li .avatar img {
   -moz-border-radius: 3px;
   -webkit-border-radius: 3px;
   -moz-box-shadow: 0 1px 1px #666;
   -webkit-box-shadow: 0 1px 1px #666;
}

#page #content .tweets li .extra,
#page #content .tweets li .extra a:link,
#page #content .tweets li .extra a:visited {
    font-size: .9em;
    color: #999;
}

#page #content .tweets li .extra {

}

#page #content .tweets li .extra span {
    margin: 0 5px 0 0;
}

#page #content .tweets li a:link,
#page #content .tweets li a:visited {
    color: #495dbc;
}



#page #content .tweets li .nick a:link,
#page #content .tweets li .nick a:visited {
    color: #000;
}

#page #content .tweets li a:hover,
#page #content .tweets li .nick a:hover {
    color: #36c;
}

#page #content .tweets li:hover .act {
    visibility: visible;
}

#page #content .tweets li .act a {
    margin-left: 5px;
    color: #000;
}

#channel {
    overflow: hidden;
    margin: -3px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    list-style: none;
}

#channel li {
    float: left;
    color: #555;
    font-size: 14px;
    border: 1px solid #d5e4f7;
    margin: 0 5px 0 0;
    padding: 2px 2px;
    cursor: default;
    -webkit-border-radius: 5px;
    -webkit-user-select: none;
    -moz-border-radius: 5px;
    -moz-user-select: none;
    overflow: hidden;
    width: 22px;
    height: 22px;
    text-indent: -999em;
    background-position: 2px 2px;
    background-repeat: no-repeat;
}

#channel li.friends {
    background-image: url('../images/home.png');
}

#channel li.replies {
    background-image: url('../images/replies.png');
}

#channel li.directs {
    background-image: url('../images/directs.png');
}

#channel li.favourite {
    background-image: url('../images/favorites.png');
}

#channel li.console {
    background-image: url('../images/console.png');
}

#channel li.timeline {
    background-image: url('../images/timeline.png');
}

#channel li:hover, #channel li.selected {
    background-color: #f0f5fb;
    color: #495dbc;
    border: 1px solid #b7c5e3;
}

#form {
    position: relative;
    margin: 2px 0 0 0;
}

#form #tweet {

}

#form #tweet textarea {
    height: 64px;
    width: 320px;
    resize: none;
    background: #f0f5fb;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    padding: 2px;
    font-size: 1em;
    position: relative;
    z-index: 10;
}

#form #tweet textarea:focus {
    background: #fff;
}

#form #tweet span {
    color: #123272;
    font-size: 12px;
    position: absolute;
    top: 0px;
    right: 2px;
}

#form #tweet textarea.full {
    border-color: #f60;
}

#form #tweet .action {
    position: absolute;
    right: 0px;
    bottom: 0px;
    width: 22px;
}

#personal .act li button,
#page #content .tweets li .act a:link,
#page #content .tweets li .act a:visited,
#form #tweet .action button {
    display: block;
    width: 22px;
    height: 22px;
    overflow: hidden;
    margin: 0px 0 5px 0;
    text-indent: -9999em;
    outline: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    cursor: pointer;
    padding: 2px;
    background-color: #f0f5fb;
    background-repeat: no-repeat;
    background-position: top left;
}

#form #tweet .action #submit {
    background-image: url(../images/update.png);
    bottom: 0px;
}

#loading {
    position: absolute;
    left: 0px;
    z-index: 99;
    background: #fff url(../images/loading.gif) no-repeat center center;
    opacity: .85;
    width: 100%;
    height: 100%;
    top: 0px;
}

#loading.loading-mini {
    top: 405px;
    height: 115px;
}

.console {
    font-size: 11px;
}

.console li {
    border: 1px solid #000;
    background: #ccc;
    margin: 0 0 1px 0;
    white-space: pre;
    padding: 0 5px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    overflow: hidden;
}

.console li.log {

}

.console li.warn {
    border: 1px solid #f60;
    color: #fff;
    background: #f90;
}

.console li.error {
    border: 1px solid red;
    background: yellow;
    color: red;
}

#notice {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    text-align: center;
    z-index: 999;
}

#notice span {
    background: #f60;
    display: inline-block;
    padding: 2px 5px;
    color: #fff;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}

#status {
    display: none;
    background: #f0f5fb;
    border: 1px solid #b7c5e3;
    font-size: 9px;
    padding: 1px 5px;
    margin: 3px 0px 0px 0px;
    -webkit-user-select: none;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
}

#personal {
    position: absolute;
    top: 3px;
    left: 5px;
    width: 346px;
    height: 400px;
    opacity: .90;
    background: #fff url(../images/mask.gif) repeat top left;
}

#personal > div {
    margin: 15px;
}

#personal h4 {
    font-family: Arial;
    font-weight: bold;
    font-size: 14px;
}

#personal p {
    margin: .2em 0;
}

#personal ul {
    list-style: none;
}

#personal .hr {
    border-bottom: 1px solid #B7C5E3;
    margin: 10px 0;
    height: 1px;
    overflow: hidden;
    width: 100px;
}

#personal .avatar {
    top: 30px;
    left: 225px;
    width: 64px;
    height: 64px;
    position: absolute;
    margin: 0;
}

#personal .avatar img {
   -moz-border-radius: 5px;
   -webkit-border-radius: 5px;
   -moz-box-shadow: 0 1px 1px #666;
   -webkit-box-shadow: 0 1px 1px #666;
}

#personal .name {
    font-weight: bold;
}

#personal .location {

}

#personal .web {

}

#personal .web a {
    text-decoration: none;
    color: #123272;
}

#personal .status {
    width: 250px;
}

#personal .count {

}

#personal .count em {
    font-family: Arial;
    font-weight: bold;
    font-size: 14px;
}

#personal .act {
    overflow: hidden;
    margin-top: 10px;
}

#personal .act li {
    float: right;
    margin-left: 5px;
}

#personal .act li.close {
    position: absolute;
    top: 5px;
    right: 5px;
}

#personal .act li.follow button {
    background-image: url(../images/follow.png);
}

#personal .act li.block button {
    background-image: url(../images/block.png);
}

#personal .act li.close button {
    background-image: url(../images/close.png);
    border: none;
}

#personal .act li.reply button {
    background-image: url(../images/reply.png);
}

#personal .act li.direct button {
    background-image: url(../images/directs.png);
    width: 24px;
}

#personal .act li.favourite button {
    background-image: url(../images/favorite.png);
}

#personal .act li.delete button {
    background-image: url(../images/delete.png);
}

#personal .act li.retweet button {
    background-image: url(../images/retweet.png);
}

#page #content .tweets li .act {
    text-align: right;
    padding: 0 5px;
    visibility: hidden;
    height: 20px;
    /*
    margin: -18px 0 0 0;
    */
    margin: 0px;
    overflow: hidden;
}

#page #content .tweets li .act a:link,
#page #content .tweets li .act a:visited {
    display: inline-block;
    width: auto;
    font-size: 10px;
    text-indent: 0px;
    height: 16px;
    background-color: transparent;
    margin-left: 2px;
    padding: 0px;
    padding: 0 0 0 14px;
    background-image: url(../images/action_icon.png);
}

#page #content .tweets li .act a[act=delete] {
    background-position: 0px 0px;
}

#page #content .tweets li .act a[act=reply] {
    background-position: 0px -20px;
}

#page #content .tweets li .act a[act=direct] {
    background-position: 0px -39px;
    padding: 0 0 0 16px;
}

#page #content .tweets li .act a[act=retweet] {
    background-position: 0px -58px;
    padding: 0 0 0 17px;
}

#page #content .tweets a[act=favourite] {
    background-image: url(../images/fav_none.png);
    position: absolute;
    top: 3px;
    right: 3px;
    width: 16px;
    height: 16px;
    overflow: hidden;
    text-indent: -999em;
    cursor: pointer;
}

#page #content .tweets .fav a[act=favourite] {
    background-image: url(../images/fav.png);
}
